{include file="header.tpl" title="Utforsker $category" logged_in=$logged_in CONFIG=$CONFIG}

<br>
{if $selections|@count == 0}
	{include file="part_infobox.tpl" message="Finnes ingen bidrag i denne kategorien."}
{else}
<form action="{$smarty.server.php_self}" name="browse">
<input type="hidden" name="category" value="{$smarty.get.category}">

	
  <table
 style="width: 60%; text-align: left; margin-left: auto; margin-right: auto;"
 border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr class="row_green">
        <th style="width: 90%;">Velg {$category}</th>
        <td align="undefined" valign="undefined"></td>
      </tr>
      <tr class="row_green_cycle">
        <td>
	
	{if $selections|@count ge 10}
	<select>
		{if $is_date}
			{html_options values=$selections output=$selections|date_format:"%Y %B e"}

		{else}
			{html_options values=$selections output=$selections}
		{/if}
	</select>
        	
	{else}
		{if $is_date}
		
			{html_radios name="selection" values=$selections output=$selections|date_format:"%Y %B %e" separator="<br />"}
		{else}
			{html_radios name="selection" values=$selections output=$selections separator="<br />"}
		{/if}
	
	{/if}
        </td>
        <td align="undefined" valign="undefined"></td>
      </tr>
      <tr>
        <td></td>
        <td style="text-align: right;" valign="undefined"><input
 value="G&aring; videre -&gt;" type="submit"></td>
      </tr>
    </tbody>
  </table>
	
</form>
{/if}
<br>


{include file="footer.tpl"}